package com.myhome.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author QYiXin
 * @Date 2021 11 01 17 20
 **/
@RestController
@RequestMapping("/test")
@Api(tags = "测试控制器")
public class TestController {
    @GetMapping("/test")
    public String test() {
        return "test ok";
    }
}
